﻿using BCCommon.Extensions;
using BCCommon.TMS.Order;
using BCCommon.TMS.Transport;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.InsuredConfig
{
    /// <summary>
    /// 保价配置扩展信息模型
    /// </summary>
    public class InsuredConfigViewDto : InsuredConfigDto
    {
        /// <summary>
        /// 运输业务
        /// </summary>
        public TransportBusinessType TransportBusiness { get; set; }

        /// <summary>
        /// 运输业务描述
        /// </summary>
        public string TransportBusinessStr { get { return this.TransportBusiness.GetDescriptionString(); } }

        /// <summary>
        /// 已启用
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 业务顺序
        /// </summary>
        public int BusinessOrder { get; set; }

        /// <summary>
        /// 业务描述
        /// </summary>
        public string Remark { get; set; }
    }
}
